package com.kqmanage.dao;

import java.util.List;

import com.kqmanage.entity.Admin;

public interface AdminDao {

	List<Admin> queryAdmin(Admin adminparams);

	void insertAdmin(Admin admin);

	Admin getAdminByLoginNameAndPassword(String loginName, String password);

	void updateAdmin(Admin admin);

	void deleteAdmin(String aid);

	Admin login(String aname, String apassword);

}
